import { defineStore } from "pinia";
export  const useHeaderTab = defineStore('headerTab',{
    state(){
        return {
            headerTab:''
        }
    },
    actions: {
             replace(value){
                this.headerTab = value
            },
            clear(){
                this.headerTab = ''
            },
        
            
    },
    //   },
    getters:{
        getHeaderTab(){
            return this.headerTab
        }
    },
    persist:{
        storage:localStorage,
       
    }
}) 